package timing.ukulele.storage.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

/**
 * 组实体
 */
@Document("group")
@Getter
@Setter
public class GroupEntity implements Serializable {
    @Id
    private String id;

    @Field("name")
    private String name;

}
